﻿using DingTalk.Corp.Message.Models;
using DingTalk.Core.Models;
using DingTalk.Corp;

namespace DingTalk.Corp.Message.Services
{
    /// <summary>
    /// 
    /// </summary>
    public interface IDingTalkAgentMessageService : IDingTalkAgentService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="userIds"></param>
        /// <returns></returns>
        Task<MessageResponse> SendMessageAsync(DingTalkMessage message, params string[] userIds);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="taskId"></param>
        /// <param name="statusVal"></param>
        /// <param name="bgColor"></param>
        /// <returns></returns>
        Task<StandardResponse> UpdateMessageAsync(string taskId, string statusVal, string bgColor);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="taskId"></param>
        /// <returns></returns>
        Task<MessageResultResponse> GetMessageResultAsync(string taskId);
    }
}
